#-------------------------------------------------
#
# Project created by QtCreator 2014-06-24T09:10:37
#
#-------------------------------------------------

QT       += core gui\
            opengl

TARGET = GeometricLab
TEMPLATE = app


SOURCES += main.cpp\
        mainwindow.cpp \
    controller/observer.cpp \
    tree/startestbox.cpp \
    csggrapher.cpp \
    CSG/csgunionnode.cpp \
    CSG/csgsolidnode.cpp \
    CSG/csgprimitivenode.cpp \
    CSG/csgpatchnode.cpp \
    CSG/csgnode.cpp \
    CSG/csginternode.cpp \
    CSG/csgdiffnode.cpp \
    CSG/bezier.cpp \
    controller/controller.cpp \
    CSG/csgfactory.cpp \
    arithmetic/intervalarithmetic.cpp \
    arithmetic/arithmetic.cpp \
    arithmetic/bernsteinarithmetic.cpp \
    algorithm/algorithm.cpp \
    algorithm/iaalgorithm.cpp \
    child/arcball/Viewport.cpp \
    child/arcball/Vector3d.cpp \
    child/arcball/Quaternion.cpp \
    child/arcball/Matrix44.cpp \
    child/arcball/Camera.cpp \
    child/arcball/ArcBall.cpp \
    child/glchildfractal.cpp \
    fractal/koch.cpp \
    element/shape.cpp \
    element/point.cpp \
    element/box.cpp \
    fractal/fractal.cpp \
    draw.cpp \
    element/triangle.cpp \
    element/line.cpp \
    dialog/dlgfractal.cpp \
    fractal/fractalfactory.cpp \
    child/glchildcsg.cpp \
    child/glchild.cpp \
    child/glchildfactory.cpp \
    child/glchildhomotopy.cpp

HEADERS  += mainwindow.h \
    controller/observer.h \
    tree/startestbox.h \
    csggrapher.h \
    CSG/csgunionnode.h \
    CSG/csgsolidnode.h \
    CSG/csgprimitivenode.h \
    CSG/csgpatchnode.h \
    CSG/csgnode.h \
    CSG/csginternode.h \
    CSG/csgdiffnode.h \
    CSG/bezier.h \
    controller/controller.h \
    CSG/csgfactory.h \
    arithmetic/intervalarithmetic.h \
    arithmetic/arithmetic.h \
    arithmetic/bernsteinarithmetic.h \
    algorithm/algorithm.h \
    algorithm/iaalgorithm.h \
    child/arcball/Viewport.h \
    child/arcball/Vector3d.h \
    child/arcball/Quaternion.h \
    child/arcball/Matrix44.h \
    child/arcball/Camera.h \
    child/arcball/ArcBall.h \
    child/glchildfractal.h \
    fractal/koch.h \
    element/shape.h \
    element/point.h \
    constants.h \
    gl2ps.h \
    element/box.h \
    fractal/fractal.h \
    element/triangle.h \
    element/line.h \
    dialog/dlgfractal.h \
    fractal/fractalfactory.h \
    child/glchildcsg.h \
    child/glchild.h \
    child/glchildfactory.h \
    child/glchildhomotopy.h \
    tree/treenode.h \
    tree/tree.h

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../../../../usr/lib/release/ -lginac
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../../../../usr/lib/debug/ -lginac
else:symbian: LIBS += -lginac
else:unix: LIBS += -L$$PWD/../../../../../usr/lib/ -lginac

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../../../../usr/lib/x86_64-linux-gnu/release/ -lGLU
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../../../../usr/lib/x86_64-linux-gnu/debug/ -lGLU
else:symbian: LIBS += -lGLU
else:unix: LIBS += -L$$PWD/../../../../../usr/lib/x86_64-linux-gnu/ -lGLU

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../../../../usr/lib/release/ -lCGAL
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../../../../usr/lib/debug/ -lCGAL
else:symbian: LIBS += -lCGAL
else:unix: LIBS += -L$$PWD/../../../../../usr/lib/ -lCGAL

OTHER_FILES += \
    images/save.png \
    images/paste.png \
    images/open.png \
    images/new.png \
    images/cut.png \
    images/copy.png \
    images/reset.png \
    images/light.png

RESOURCES += \
    icons.qrc

FORMS += \
    dialog/dlgfractal.ui
